#pragma once

#include <string>
#include <vector>


class Aes
{
public:
    enum Padding
    {
        PADDING_NONE = 0,
        PADDING_PKCS7 = 1,
    };
public:
    static bool ecb_encrypt(const std::string &in, std::string &out, const std::string &key, bool enc, Padding padding);
    static bool cbc_encrypt(const std::string &in, std::string &out, const std::string &key, const std::string &ivec, bool enc, Padding padding);

};















